package com.tanhua.dubbo.api.db;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.domain.db.UserInfo;

import java.util.ArrayList;
import java.util.List;

public interface UserInfoApi {

    public void save(UserInfo userInfo);

    public void update(UserInfo userInfo);

    public UserInfo findById(Long id);

    IPage<UserInfo> queryUsers(Integer page, Integer pagesize, Long id, String nickname, String city);



    List<UserInfo> findAll();
}
